* MinimalRenderer unit tests.
*/
public class MinimalRendererTest {
@Test
public void testFinalizeProperties__instance_noProperties() {
SchemaFactory schemaFactory = createNiceMock(SchemaFactory.class);
Schema schema = createNiceMock(Schema.class);
// schema expectations
expect(schemaFactory.getSchema(Resource.Type.Component)).andReturn(schema).anyTimes();
expect(schema.getKeyPropertyId(Resource.Type.Component)).andReturn("ServiceComponentInfo/component_name").anyTimes();
replay(schemaFactory, schema);
QueryInfo rootQuery = new QueryInfo(new ServiceResourceDefinition(), new HashSet<String>());