public void Call_Must_Be_Invalid_If_There_Is_No_PhoneNumber() { var call = new VoiceCall("", new DateTime(2012, 1, 1), new TimeSpan(0, 0, 1, 2), "DEST", "DK", "DK"); call.IsValid().Should().BeFalse(); }
public void Call_Must_Be_Invalid_If_There_Is_No_UnitSize() { var call = new VoiceCall("99999999", new DateTime(2012, 1, 1), new TimeSpan(0, 0, 0, 0), "DEST", "DK", "DK"); call.IsValid().Should().BeFalse(); }
public void Call_Must_Be_Invalid_If_There_Is_No_Destination() { var call = new VoiceCall("99999999", new DateTime(2012, 1, 1), new TimeSpan(0, 0, 1, 2), "", "DK", "DK"); call.IsValid().Should().BeFalse(); }