Esempio n. 1
0
            public void CreateNewAnonymousPipeClientStream(StreamFactory sut, PipeDirection clientDirection,
                                                           PipeDirection serverDirection)
            {
                var handle = new AnonymousPipeServerStream(serverDirection, HandleInheritability.Inheritable);

                sut.CreateAnonymousPipeClientStream(clientDirection, handle.GetClientHandleAsString())
                .Should().NotBeNull().And.BeAssignableTo <AnonymousPipeClientStream>();
            }