### Question:
GeoffPlugin extends ServerPlugin { @Name("insert") @Description("Insert Geoff subgraph into the database from a list of rule strings") @PluginTarget(GraphDatabaseService.class) public Representation insert( @Source GraphDatabaseService graphDB, @Description("Geoff subgraph to insert") @Parameter(name = "subgraph", optional = false) String[] subgraph, @Description("Named entity references to pass into insert routine") @Parameter(name = "params", optional = true) Map params ) throws SubgraphError, SyntaxError { return new GeoffResultRepresentation( Geoff.insertIntoNeo4j(new Subgraph(subgraph), graphDB, GeoffParams.toEntities(params, graphDB)) ); }  @Name("merge") @Description("Merge Geoff subgraph into the database from a list of rule strings") @PluginTarget(GraphDatabaseService.class) Representation merge(
			@Source GraphDatabaseService graphDB,
			@Description("Geoff subgraph to merge")
			@Parameter(name = "subgraph", optional = false) String[] subgraph,
			@Description("Named entity references to pass into merge routine")
			@Parameter(name = "params", optional = true) Map params
	); @Name("insert") @Description("Insert Geoff subgraph into the database from a list of rule strings") @PluginTarget(GraphDatabaseService.class) Representation insert(
		@Source GraphDatabaseService graphDB,
		@Description("Geoff subgraph to insert")
		@Parameter(name = "subgraph", optional = false) String[] subgraph,
		@Description("Named entity references to pass into insert routine")
		@Parameter(name = "params", optional = true) Map params
	); @Name("delete") @Description("Delete Geoff subgraph from the database as defined by a list of rule strings") @PluginTarget(GraphDatabaseService.class) Representation delete(
		@Source GraphDatabaseService graphDB,
		@Description("Geoff subgraph to delete")
		@Parameter(name = "subgraph", optional = false) String[] subgraph,
		@Description("Named entity references to pass into delete routine")
		@Parameter(name = "params", optional = true) Map params
	);  }### Answer:
@Test public void runSimpleQuery() throws Exception { db.cleanContent(false); expectNodes(0); Node i = data.get().get("I"); List<String> rules = JSON.toListOfStrings("[\"(Joe) {\\\"name\\\":\\\"Joe\\\"}\"]"); plugin.insert(db, rules.toArray(new String[rules.size()]), null); expectNodes(1); }