public void TestInitialize()
 {
     View      = Substitute.For <IJsonMessageView>();
     Decoder   = Substitute.For <IContentDecoder <string> >();
     ViewModel = new JsonMessageViewModel(Decoder);
     ViewModel.Activate();
 }
 public void TestInitialize()
 {
     View = Substitute.For<IJsonMessageView>();
     Decoder = Substitute.For<IContentDecoder<string>>();
     ViewModel = new JsonMessageViewModel(Decoder);
     ViewModel.Activate();
 }
Beispiel #3
0
 public MessageBodyViewModel(
     IHexContentViewModel hexViewer, 
     IJsonMessageViewModel jsonViewer,
     IXmlMessageViewModel xmlViewer)
 {
     HexViewer = hexViewer;
     XmlViewer = xmlViewer;
     JsonViewer = jsonViewer;
 }
Beispiel #4
0
 public MessageBodyViewModel(
     IHexContentViewModel hexViewer,
     IJsonMessageViewModel jsonViewer,
     IXmlMessageViewModel xmlViewer)
 {
     HexViewer  = hexViewer;
     XmlViewer  = xmlViewer;
     JsonViewer = jsonViewer;
 }
 public void TestInitialize()
 {
     View = Substitute.For<IJsonMessageView>();
     ViewModel = new JsonMessageViewModel();
     ViewModel.Activate();
 }
 public void TestInitialize()
 {
     View      = Substitute.For <IJsonMessageView>();
     ViewModel = new JsonMessageViewModel();
     ViewModel.Activate();
 }