assertFalse( ControlFactory.getInstance().isSettingsIfaceSupported(DudSettings.class) );
}
public void testBadIface() {
DudSettings settings = new DudSettings() {};
StateFactory factory = StateFactory.getInstance();
StateGraph graph = factory.emptyStateGraph();
StateActivator activator = new StateActivator() {
public void changeState(Object arg0) throws com.tomgibara.pronto.state.ProntoStateException ,RuntimeException {};
public void transitionState(com.tomgibara.pronto.state.StateTransition arg0, Object arg1) throws com.tomgibara.pronto.state.ProntoStateException ,RuntimeException {};
};
StateEngine engine = factory.newEngine(graph, activator);
EngineControlAdapter adapter = new EngineControlAdapter() {
public Object labelFromName(String name) { return null; };
public String nameFromLabel(Object label) { return null; };
public Object parseParameter(String string) { return null; };
};