### Question:
GraphMutation implements BatchMutation { @Override public OperationResult<Result> execute() { return () -> (GraphMutationResult) graphOperation.operationResult(); } @Inject  GraphMutation(MutationExecutorFactory factory); @Override BatchMutation createEntity(NewEntity newEntity); @Override BatchMutation createRelationship(NewRelationship newRelationship); @Override OperationResult<Result> execute(); @Override Entity.Mutation withEntity(Entity entity); @Override Relationship.Mutation withRelationship(Relationship relationship);  }### Answer:
@Test public void testExecute(){ MockMutationExecuterFactory mutationExecutionFactory = new MockMutationExecuterFactory(); GraphMutation graphMutation = new GraphMutation(mutationExecutionFactory); OperationResult<Result> execute = graphMutation.execute(); assertNotNull(execute); }