14.3. Specifying the path to the flow to test
Prev | 14. Testing flows | Next

## 14.3. Specifying the path to the flow to test

At a minimum, you must override `getResource(FlowDefinitionResourceFactory)` to return the path to the flow you wish to test:

    @Override
    protected FlowDefinitionResource getResource(FlowDefinitionResourceFactory resourceFactory) {
        return resourceFactory.createFileResource("src/main/webapp/WEB-INF/hotels/booking/booking.xml");
    }

Prev | Up | Next
14.2. Extending AbstractXmlFlowExecutionTests | Home | 14.4. Registering flow dependencies