public void The_Module_Itself_IsReturned_AtTheAnchor() { // Arrange var module = new EmptyDataModule(); // Act var instance1 = new EmptyBusinessObject(0); var instance2 = instance1.Anchor(module); // Assert Assert.Equal(instance1, instance2); }
public void Module_IsNotNull_When_Anchored() { // Arrange var module = new EmptyDataModule(); // Act var instance = new EmptyBusinessObject(0) .Anchor(module); // Assert Assert.NotNull(instance.ExposeModule); }