Skip to content

Instantly share code, notes, and snippets.

@softwarehangar7
Created May 26, 2019 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save softwarehangar7/e02c138d013a9d97be62fde92a060f72 to your computer and use it in GitHub Desktop.
Save softwarehangar7/e02c138d013a9d97be62fde92a060f72 to your computer and use it in GitHub Desktop.
public class HistoricalRecordControllerTest {
@Test
public void testRetrieveEmptyList() throws Exception {
final HistoricalRecordController recordController = new HistoricalRecordController();
final List<HistoricalRecord> historicalRecords = recordController.listAll();
assertEquals(0, historicalRecords.size());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment