publicfunctiontestGetResources() { $this->expectException(NotBoundException::class); $this->expectExceptionMessage('Query execution is not possible without binding the connection first.'); $connection = $this->createMock(Connection::class); $connection ->expects($this->once())