File tree Expand file tree Collapse file tree
src/test/java/com/imsweb/seerapi/client/naaccr Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414import static org .assertj .core .api .Assertions .assertThat ;
1515
16-
1716public class NaaccrTest {
1817
1918 private static NaaccrService _NAACCR ;
@@ -41,7 +40,7 @@ public void testNaaccrVersions() throws IOException {
4140 public void testNaaccrFieldNames () throws IOException {
4241 List <NaaccrFieldName > names = _NAACCR .fieldNames ("latest" ).execute ().body ();
4342
44- assertThat (names ).isNotEmpty ();
43+ assertThat (names ).isNotNull ();
4544 for (NaaccrFieldName name : names ) {
4645 assertThat (name .getItem ()).isGreaterThan (0 );
4746 assertThat (name .getName ()).isNotEmpty ();
@@ -74,6 +73,7 @@ public void testNaaccrField() throws IOException {
7473
7574 // test one with default value
7675 NaaccrField recordID = _NAACCR .field ("18" , 10 ).execute ().body ();
76+ assertThat (recordID ).isNotNull ();
7777 assertThat (recordID .getName ()).isEqualTo ("Record Type" );
7878 assertThat (recordID .getSection ()).isEqualTo ("Record ID" );
7979 assertThat (recordID .getDefaultValue ()).isEqualTo ("A" );
You can’t perform that action at this time.
0 commit comments