public void SetUp() { _TypeHelper = Substitute.For <ITypeHelper>(); _TypeHelper.NameOf(Arg.Any <Type>(), Arg.Any <NameOfTypeOptions>()).Returns(ci => ((Type)ci[0]).FullName); _Rule = new GenericTypeNameRule(); }