### Question:
Neo4JDriverDecorator implements TestClassDecorator { @Override public void beforeAll(final TestInvocation invocation) throws Exception { final ExecutionContext context = invocation.getContext(); final Configuration configuration = configurationRegistry.getConfiguration(context.getDescriptor()); context.storeData(Constants.KEY_DATA_SOURCE, configuration.createDataSource()); }  @Override int getPriority(); @Override boolean isConfigurationSupported(final ExecutionContext ctx); @Override void beforeAll(final TestInvocation invocation); @Override void afterAll(final TestInvocation invocation);  }### Answer:
@Test public void testBeforeTest() throws Throwable { decorator.beforeAll(invocation); verify(ctx).storeData(eq(Constants.KEY_DATA_SOURCE), eq(dataSource)); }