Example #1
0
        public void CreatedEmployeeIsAfterwardsAvailbleInExistingEmployees()
        {
            _sut.CreateEntity(_client, NewEmployeeName + _sut.EntityCode);
            var employeeNames = _sut.GetActualNames(_client);

            Assert.That(employeeNames, Has.Some.Contains(NewEmployeeName),
                        "Created Employee name is not present in the actual names, but should be.");
        }
Example #2
0
        public void CreatedCompanyIsAfterwardsAvailbleInExistingCompanies()
        {
            _sut.CreateEntity(_client, NewCompanyName + _sut.EntityCode);
            var companyNames = _sut.GetActualNames(_client);

            Assert.That(companyNames, Has.Some.Contains(NewCompanyName),
                        "Created company name is not present in the actual names, but should be.");
        }