示例#1
0
        public void ShouldCreateRoom()
        {
            var occupationExpected = new Occupations(_faker.Random.Int(0, 600), DateTime.Now, _faker.Random.Int(0, 600), _faker.Random.Int(0, 600));

            var occupation = new Occupations(occupationExpected.DailyAmount, occupationExpected.Date, occupationExpected.ClientId, occupationExpected.RoomId);

            occupationExpected.ToExpectedObject().ShouldMatch(occupation);
        }