@Before
  public void before() throws Exception {
    this.ms = new MockMasterServices(HTU.getConfiguration());
    this.mch = new MasterCoprocessorHost(this.ms, HTU.getConfiguration());
    this.mch.preMasterInitialization();
  }
Test CoreCoprocessor Annotation works giving access to facility not usually available. Test
MasterCoprocessor.
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoreMasterCoprocessor.java