@Test
public void testYangDefaults() {

    final DatastoreContextIntrospector introspector = INTROSPECTOR_FACTORY.newInstance(
            DatastoreContext.newBuilder().shardBatchedModificationCount(2)
            .transactionDebugContextEnabled(true).build());
    DatastoreContext context = introspector.getContext();
    assertEquals(1000, context.getShardBatchedModificationCount());
    assertFalse(context.isTransactionDebugContextEnabled());
}