예제 #1
0
 public static AndConstraint <CommandResultAssertions> CreateDelegateMock_InMemoryAssembly(this CommandResultAssertions assertion)
 {
     return(assertion.CreateDelegateMock()
            .And.HaveStdOutContaining("mock entryPointAssemblyName:System.Private.CoreLib")
            .And.HaveStdOutContaining("mock entryPointTypeName:Internal.Runtime.InteropServices.InMemoryAssemblyLoader")
            .And.HaveStdOutContaining("mock entryPointMethodName:LoadInMemoryAssembly"));
 }
예제 #2
0
 public static AndConstraint <CommandResultAssertions> CreateDelegateMock_COM(this CommandResultAssertions assertion)
 {
     return(assertion.CreateDelegateMock()
            .And.HaveStdOutContaining("mock entryPointAssemblyName:System.Private.CoreLib")
            .And.HaveStdOutContaining("mock entryPointTypeName:Internal.Runtime.InteropServices.ComActivator")
            .And.HaveStdOutContaining("mock entryPointMethodName:GetClassFactoryForTypeInternal"));
 }