public void Take_ShouldBeFalse() { ParkingSpace sut = new ParkingSpace(); sut.Take(); Assert.That(sut.Take(), Is.EqualTo(false)); }
public void Take_ShouldBeNotAvailable() { ParkingSpace sut = new ParkingSpace(); sut.Take(); Assert.That(sut.GetIsAvailable(), Is.EqualTo(false)); }
public void TakeVacate_ShouldBeTrue() { ParkingSpace sut = new ParkingSpace(); sut.Take(); sut.Vacate(); Assert.That(sut.GetIsAvailable(), Is.EqualTo(true)); }
public void Take_ShouldBeTrue() { ParkingSpace sut = new ParkingSpace(); Assert.That(sut.Take(), Is.EqualTo(true)); }