@@ -0,0 +1,1550 @@
+package de.fau.amos.virtualledger.server.model;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0A/**%0A * Created by Simon on 25.07.2017.%0A */%0Apublic class DeletedBankAccessTest %7B%0A    @Test%0A    public void setAndGetTest() %7B%0A        //Setup%0A        final String bankAccessId = %22Id1%22;%0A        final String bankAccessId2 = %22Id2%22;%0A        final String bankAccessId3 = %22Id3%22;%0A        User user = new User();%0A        User user2 = new User();%0A        User user3 = new User();%0A        User user4 = new User();%0A        Set%3CUser%3E users = new HashSet%3C%3E();%0A        users.add(user);%0A        users.add(user2);%0A        Set%3CUser%3E users2 = new HashSet%3C%3E();%0A        users2.add(user3);%0A        users2.add(user4);%0A        DeletedBankAccess deletedBankAccess3 = new DeletedBankAccess();%0A%0A        //Act%0A        DeletedBankAccess deletedBankAccess = new DeletedBankAccess(bankAccessId, users);%0A        DeletedBankAccess deletedBankAccess2 = new DeletedBankAccess(bankAccessId2);%0A        deletedBankAccess3.setUsers(users2);%0A        deletedBankAccess3.setBankAccessId(bankAccessId3);%0A%0A        //Assert%0A        assertThat(deletedBankAccess.getBankAccessId()).isEqualTo(bankAccessId);%0A        assertThat(deletedBankAccess2.getBankAccessId()).isEqualTo(bankAccessId2);%0A        assertThat(deletedBankAccess3.getBankAccessId()).isEqualTo(bankAccessId3);%0A%0A        assertThat(deletedBankAccess.getUsers()).isEqualTo(users);%0A        assertThat(deletedBankAccess3.getUsers()).isEqualTo(users2);%0A    %7D%0A%7D%0A

test for model class DeletedBankAccess