private AjState getState() {
   // get hold of the state for this project - expect to find one
   AjState state = IncrementalStateManager.retrieveStateFor(inpathTestingDir);
   assertNotNull(
       "expected to find AjState for build config " + inpathTestingDir + " but didn't", state);
   return state;
 }
 /**
  * Tests that can retieve the state that manages a given output location when there is no
  * outputDir set
  */
 public void testFindStateManagingOutputLocation() {
   build("inpathTesting");
   AjState state =
       IncrementalStateManager.findStateManagingOutputLocation(new File(expectedOutputDir));
   assertNotNull(
       "Expected to find a state that managed output location "
           + expectedOutputDir
           + ", but did not",
       state);
 }