Skip to content

Commit

Permalink
Add AssertTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Bowser committed Mar 29, 2010
1 parent 42309bf commit 47bf6d9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/com/fieldexpert/fbapi4j/common/AssertTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.fieldexpert.fbapi4j.common;

import org.junit.Test;

public class AssertTest {

@Test(expected = IllegalArgumentException.class)
public void nullObj() {
Assert.notNull(null);
}

@Test
public void notNullObj() {
Assert.notNull(new Object());
}

}

0 comments on commit 47bf6d9

Please sign in to comment.