private void checkFullTreadFactory() {
ModelNode subsystem = model.require("profile").require("test").require("subsystem").require("threads");
ModelNode threadFactory = subsystem.require("thread-factory");
assertEquals(1, threadFactory.keys().size());
assertEquals("test-factory", threadFactory.require("test-factory").require("name").asString());
assertEquals("test-group", threadFactory.require("test-factory").require("group-name").asString());
assertEquals("test-pattern", threadFactory.require("test-factory").require("thread-name-pattern").asString());
assertEquals(5, threadFactory.require("test-factory").require("priority").asInt());
}