@@ -0,0 +1,1642 @@
+package de.fau.amos.virtualledger.server.model;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0A/**%0A * Created by Simon on 25.07.2017.%0A */%0Apublic class DeletedBankAccountTest %7B%0A    @Test%0A    public void setAndGetTest() %7B%0A        //Setup%0A        final DeletedBankAccountId bankAccountId = new DeletedBankAccountId();%0A        final DeletedBankAccountId bankAccountId2 = new DeletedBankAccountId();%0A        final DeletedBankAccountId bankAccountId3 = new DeletedBankAccountId();%0A%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%0A        DeletedBankAccount deletedBankAccount = new DeletedBankAccount();%0A%0A        //Act%0A        DeletedBankAccount deletedBankAccount2 = new DeletedBankAccount(bankAccountId2, users2);%0A        DeletedBankAccount deletedBankAccount3 = new DeletedBankAccount(bankAccountId3);%0A        deletedBankAccount.setUsers(users);%0A        deletedBankAccount.setId(bankAccountId);%0A%0A        //Assert%0A        assertThat(deletedBankAccount.getId()).isEqualTo(bankAccountId);%0A        assertThat(deletedBankAccount2.getId()).isEqualTo(bankAccountId2);%0A        assertThat(deletedBankAccount3.getId()).isEqualTo(bankAccountId3);%0A%0A        assertThat(deletedBankAccount.getUsers()).isEqualTo(users);%0A        assertThat(deletedBankAccount2.getUsers()).isEqualTo(users2);%0A    %7D%0A%7D%0A

test class for model class DeletedBankAccount