public void It_creates_mock_objects_for_ctor_sealed_parameters_when_instances_provided() { mocker.Use("Hello World"); WithSealedParams instance = mocker.CreateInstance <WithSealedParams>(); instance.Sealed.ShouldNotBeNull().ShouldEqual("Hello World"); }
public void It_creates_mock_objects_for_ctor_sealed_parameters_when_instances_provided() { mocker.Use("Hello World"); WithSealedParams instance = mocker.CreateInstance <WithSealedParams>(); Assert.AreEqual("Hello World", instance.Sealed); }