public void ClassIsSet() { mapping.Class = new TypeReference(typeof(ExampleClass)); inspector.IsSet(Prop(x => x.Class)) .ShouldBeTrue(); }