Example #1
0
    public void GetDummyClientTest()
    {
        var client = new Client();
            var myClientService = new ClientDomainService();

            client = myClientService.GetDummyClient();

            Assert.That(client.ClientId, Is.Not.Null);
    }
Example #2
0
    public void CreateDebitStatement()
    {
        var statement = new Statement();
            var DebitClientService = new ClientDomainService();

            statement.Client = DebitClientService.GetDummyClient();
            statement.Transactions = new List<Transaction>();
            statement.DateStart = new DateTime();
            statement.DateEnd = new DateTime();

            Assert.That(statement.Transactions.Count, Is.EqualTo(0));
    }