InspectionResultsUtils { public static Database addDatabase(InspectionResults results) { Database database = results.getObject(DATABASE); if (database == null) { results.addObject(database = new Database()); } return database; }  static Database addDatabase(InspectionResults results); static Catalog addCatalog(InspectionResults results, String catalogName); static Catalog addCatalog(InspectionResults results, String catalogName, boolean addObject); static Schema addSchema(InspectionResults results, String catalogName, String schemaName); static Schema addSchema(InspectionResults results, String catalogName, String schemaName,
            boolean addObject); static Table addTable(InspectionResults results, String catalogName, String schemaName, String tableName); static Table addTable(InspectionResults results, String catalogName, String schemaName, String tableName,
            boolean addObject);  }
@Test public void testAddDatabase() { InspectionResults inspectionResults = mock(InspectionResults.class); Database database = addDatabase(inspectionResults); verify(inspectionResults).addObject(database); }