### Question:
ManagedResourceHandler implements ResourceHandler { @Override public void handleManagedResources( Bundle blueprintBundle ) { File to = getOutputDirectory( blueprintBundle ); writeFilesToDisk( blueprintBundle, BUNDLE_MANAGED_RESOURCES_DIR, to ); }  void setManagedResourceProvider( ResourceProvider resourceProvider ); @Override boolean hasManagedResources( Bundle bundle ); @Override void handleManagedResources( Bundle blueprintBundle ); static String BUNDLE_MANAGED_RESOURCES_DIR; }### Answer:
@Test public void testHandleManagedResources() throws Exception { resourceHandler.handleManagedResources( bundle ); verify( resourceHandler ).getOutputDirectory( bundle ); verify( resourceHandler ) .writeFilesToDisk( eq( bundle ), eq( ManagedResourceHandler.BUNDLE_MANAGED_RESOURCES_DIR ), any( File.class ) ); }