public void Test_Users_CreateBankAccount_OTHER() { try { UserNaturalDTO john = TestHelper.GetJohn(); BankAccountOtherPostDTO account = new BankAccountOtherPostDTO(john.FirstName + " " + john.LastName, john.Address, "234234234234", "BINAADADXXX"); account.Type = BankAccountType.OTHER; account.Country = CountryIso.FR; BankAccountDTO createAccount = _objectToTest.CreateBankAccountOther(john.Id, account).Result; Assert.True(createAccount.Id.Length > 0); Assert.True(createAccount.UserId == (john.Id)); Assert.True(createAccount.Type == BankAccountType.OTHER); Assert.True(((BankAccountOtherDTO)createAccount).Type == BankAccountType.OTHER); Assert.True(((BankAccountOtherDTO)createAccount).Country == CountryIso.FR); Assert.True(((BankAccountOtherDTO)createAccount).AccountNumber == ("234234234234")); Assert.True(((BankAccountOtherDTO)createAccount).BIC == ("BINAADADXXX")); } catch (Exception ex) { Assert.True(false, ex.Message); } }