示例#1
0
 public void Deserialize_Null()
 {
     AdvAssert.ThrowsArgumentNull(() => LogEntryData.Deserialize(null), "data");
 }
示例#2
0
 public void Constructor_NullEventLog()
 {
     AdvAssert.ThrowsArgumentNull(() => new LogViewPresenter(null), "logViewModel");
 }
示例#3
0
 public void Constructor_Null()
 {
     AdvAssert.ThrowsArgumentNull(() => new AdvSC(null), "serviceName");
 }
示例#4
0
 public void Constructor_NullManager()
 {
     AdvAssert.ThrowsArgumentNull(() => new ServiceGateway(new AdvSCStub(), null), "serviceInterfaceManager");
 }
示例#5
0
 public void Constructor_NullGateway()
 {
     AdvAssert.ThrowsArgumentNull(() => new MainViewPresenter(null), "serviceGateway");
 }
示例#6
0
 public void Start_ServiceInterfaceIsNull()
 {
     AdvAssert.ThrowsArgumentNull(() => core.Start(ruleset, null, null), "serviceInterface");
 }
示例#7
0
 public void Constructor_NullSC()
 {
     AdvAssert.ThrowsArgumentNull(() => new ServiceGateway(null, new ServiceInterfaceManagerStub()), "sc");
 }
示例#8
0
 public void Start_RulesetIsNull()
 {
     AdvAssert.ThrowsArgumentNull(() => core.Start(null, serviceInterface, null), "ruleset");
 }
示例#9
0
 public void Constructor_NullModel()
 {
     AdvAssert.ThrowsArgumentNull(() => new FormMainPresenter(_Form, _ServiceGateway, null), "logViewModel");
 }
示例#10
0
 public void Constructor_NullGateway()
 {
     AdvAssert.ThrowsArgumentNull(() => new FormMainPresenter(_Form, null, _LogViewModel), "serviceGateway");
 }
示例#11
0
 public void Constructor_NullForm()
 {
     AdvAssert.ThrowsArgumentNull(() => new FormMainPresenter(null, new ServiceGateway(new AdvSCStub(), new ServiceInterfaceManagerStub()), new LogViewModelMock()), "formMain");
 }
示例#12
0
 public void Constructor_NullEventLog()
 {
     AdvAssert.ThrowsArgumentNull(() => new LogViewModel(null), "eventLog");
 }