Exemplo n.º 1
0
 @Test
 public void testLoadPosition() {
   final List<Position> loadPositions = loadAllPositions();
   final Position testPosition = loadPositions.get(0);
   // act
   final Position loadPosition = testee.loadPosition(testPosition.getId());
   assertEquals(testPosition.getName(), loadPosition.getName());
 }
Exemplo n.º 2
0
 private List<Position> loadAllPositions() {
   final List<Position> loadPositions = testee.loadPositions();
   return loadPositions;
 }
Exemplo n.º 3
0
 @Test
 public void testLoadAccounts() {
   final List<Account> loadAccounts = testee.loadAccounts();
   assertTrue(loadAccounts.size() > 0);
 }