@Test
public void testProcess() throws Exception {

    final SchemaSource source1 =
        new SchemaSource(new StringInputStream(RESOURCE1), RESOURCE1);
    final SchemaSource source2 =
        new SchemaSource(new StringInputStream(RESOURCE2), RESOURCE2);
    expect(mockTransformer.transform(same(RESOURCE1))).andReturn(source1);
    mockResolver.registerSchemaSource(same(source1));
    expectLastCall();
    expect(mockTransformer.transform(same(RESOURCE2))).andReturn(source2);
    mockResolver.registerSchemaSource(same(source2));
    expectLastCall();
    EasyMockUnitils.replay();
    postProcessor.postProcess(mockResolver);
}