ConnectionScopeBinaryStatementRegistry { public PostgreSQLBinaryStatement getBinaryStatement(final String statementId) { return binaryStatements.get(statementId); }  void register(final String statementId, final String sql, final int parameterCount, final List<PostgreSQLBinaryStatementParameterType> binaryStatementParameterTypes); PostgreSQLBinaryStatement getBinaryStatement(final String statementId);  }
@Test public void assertGetBinaryStatementNotExists() { ConnectionScopeBinaryStatementRegistry statementRegistry = new ConnectionScopeBinaryStatementRegistry(); PostgreSQLBinaryStatement binaryStatement = statementRegistry.getBinaryStatement("stat-no-exists"); assertNull(binaryStatement); }