Esempio n. 1
0
        public void ShouldBeAbleToAddAStructure()
        {
            var clientId       = new ClientId("ABC123");
            var account1       = new Account(new AccountId(12341234), clientId);
            var account2       = new Account(new AccountId(12341235), clientId);
            var clientAccounts = new ClientAccounts();

            clientAccounts.Add(account1);
            clientAccounts.Add(account2);
            var structure  = new Structure(clientAccounts, getAllocation(), null, null);
            var structures = new Structures();

            structures.Add(structure);

            Assert.True(structures.Contains(structure));
        }