public void Arrange() { var context = new Mock <IExternalContext>(); context.Setup(c => c.Properties).Returns(new Dictionary <string, string> { { "key", "value" } }); _contextWrapper = new DCFS.Context.ContextWrapper(context.Object); }
public void ThenExpectingInstance() { // Arrange var context = new Mock <IExternalContext>(); context.Setup(c => c.Properties).Returns(new Dictionary <string, string> { { "key", "value" } }); // Act var contextWrapper = new DCFS.Context.ContextWrapper(context.Object); // Assert Assert.IsNotNull(contextWrapper); }