コード例 #1
0
        public void Child_Class_Can_Call_Hosts_Mixed_In_Protected_Static_Method()
        {
            HostInheritsStaticMembersInMixinSpecInheritanceTest.WrapperForHostProtectedPrettyPrint("Hello World")
            .ShouldNotBeEmpty();

            HostInheritsStaticMembersInMixinSpecInheritanceTest.WrapperForHostProtectedPrettyPrint("Hello World")
            .ShouldEqual(
                HostInheritsStaticMembersInMixinSpec.WrapperForBaseProtectedPrettyPrint("Hello World"));
        }
コード例 #2
0
 public void Can_Call_Host_Method_That_Uses_Protected_Static_Mixin_Method()
 {
     HostInheritsStaticMembersInMixinSpec.WrapperForBaseProtectedPrettyPrint("Hello World")
     .ShouldNotBeEmpty();
 }
コード例 #3
0
 public void Can_Call_Host_Method_That_Uses_Public_Static_Mixin_Method()
 {
     HostInheritsStaticMembersInMixinSpec.PublicPrettyPrint("Hello World")
     .ShouldNotBeEmpty();
 }