public void Returns_true_when_object_casts_to_valid_object() { var classB = new ClassB(); classB.CastAs<ClassA>().ShouldNotBeNull(); }