Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Test
- final void testCreateEntity(){
- List<Account> list = logic.getAll();
- Account testAccount = list.get(0);
- Account newEntity = logic.createEntity(sampleMap);
- assertEquals(newEntity.AccountLogic.DISPLAY_NAME, "Junit 5 Test" );
- assertEquals(newEntity.AccountLogic.USER, "junit" );
- assertEquals(newEntity.AccountLogic.PASSWORD, "junit5");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement