public void FuzzProfileByTypeOverridesInheritance() { var annotation = new FuzzTestMethodWithProfile { FuzzProfileType = typeof(UnitTestFuzzProfile), }; Assert.IsType <UnitTestFuzzProfile>(annotation.FuzzProfile); }
public void FuzzProfileByInheritance() { var annotation = new FuzzTestMethodWithProfile(); Assert.IsType <UnitTestInheritanceFuzzProfile>(annotation.FuzzProfile); }
public void FuzzProfileByInheritance() { var annotation = new FuzzTestMethodWithProfile(); Assert.IsInstanceOfType(annotation.FuzzProfile, typeof(UnitTestInheritanceFuzzProfile)); }