### Question:
PostgreGenDialect extends StandardGenDialect { @Override public SqlBlockContext createSqlBlockContext() { return new PostgreSqlBlockContext(); } PostgreGenDialect(); @Override String getName(); @Override SqlType getSqlType(ValueTypeProvider valueTypeProvider,
            PropertyMeta propertyMeta); @Override String getDefaultSchemaName(String userName); @Override GenerationType getDefaultGenerationType(); @Override boolean supportsSequence(); @Override String getSequenceDefinitionFragment(String dataType,
            long initialValue, int allocationSize); @Override String getIdentityColumnDefinition(); @Override boolean isTableNotFound(Throwable throwable); @Override boolean isColumnNotFound(Throwable throwable); @Override boolean isSequenceNotFound(Throwable throwable); @Override SqlBlockContext createSqlBlockContext(); @Override boolean supportsIdentityInsert(); @Override boolean supportsIdentity(); @Override String getSequenceNextValString(String sequenceName,
            int allocationSize); @Override boolean supportsCommentInCreateTable(); @Override boolean supportsCommentOn();  }### Answer:
@Test public void testCreateSqlBlockContext() throws Exception { SqlBlockContext context = dialect.createSqlBlockContext(); assertFalse(context.isInSqlBlock()); context.addKeyword("$$"); assertTrue(context.isInSqlBlock()); context.addKeyword("$$"); assertFalse(context.isInSqlBlock()); }