### Question:
BnCheckBox extends BooleanPMCheckBox implements ModelSubscriber { public void setModelProvider(IModelProvider provider) { this.link.setModelProvider(provider); } BnCheckBox();  BnCheckBox(IBooleanPM pModel);  BnCheckBox(ModelProvider provider, Path path);  BnCheckBox(ModelProvider provider); IModelProvider getModelProvider(); void setModelProvider(IModelProvider provider); Path getPath(); void setPath(Path path);  }### Answer:
@Test public void testSetModelProvider() { Path myPath = new Path("this.ready"); this.checkBox.setModelProvider(this.provider); this.checkBox.setPath(myPath); assertTrue("checkBox.isConnected()", this.checkBox.isConnected()); }