@Test
public void openConnectionAfterDeletedFails() {

    new TestKit(actorSystem) {{
        final TestProbe clientActorMock = TestProbe.apply(actorSystem);
        final ActorRef underTest =
                TestConstants.createConnectionSupervisorActor(connectionId, actorSystem, pubSubMediator,
                        proxyActor,
                        (connection, concierge, connectionActor) -> MockClientActor.props(clientActorMock.ref()));
        watch(underTest);
        // create connection
        underTest.tell(createConnection, getRef());
        clientActorMock.expectMsg(openConnection);
        expectMsg(createConnectionResponse);
        // delete connection
        underTest.tell(deleteConnection, getRef());
        expectMsg(deleteConnectionResponse);
        // open connection should fail
        underTest.tell(openConnection, getRef());
        expectMsg(connectionNotAccessibleException);
    }};
}