예제 #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");
 }