'Verify that when stdin close notification is delivered to
L{ProcessProtocol.childConnectionLost}, it is forwarded to
L{ProcessProtocol.inConnectionLost}.'

def test_inConnectionLost(self):

    lost = []
    class InLostProtocol(StubProcessProtocol, ):
        def inConnectionLost(self):
            lost.append(None)
    p = InLostProtocol()
    p.childConnectionLost(0)
    self.assertEqual(lost, [None])
