AxeScannerFactory { public static AxeScanner createAxeScanner( DeviceConfigFactory deviceConfigFactory, Supplier<DisplayMetrics> displayMetricsSupplier) { final AxeViewsFactory axeViewsFactory = new AxeViewsFactory( new NodeViewBuilderFactory(), new AccessibilityNodeInfoQueueBuilder(new AccessibilityNodeInfoSorterFactory())); final AxeImageFactory axeImageFactory = new AxeImageFactory(new ByteArrayOutputStreamProvider()); final AxeDeviceFactory axeDeviceFactory = new AxeDeviceFactory(deviceConfigFactory, displayMetricsSupplier); final AxeContextFactory axeContextFactory = new AxeContextFactory(axeImageFactory, axeViewsFactory, axeDeviceFactory); final AxeRunnerFactory axeRunnerFactory = new AxeRunnerFactory(); return new AxeScanner(axeRunnerFactory, axeContextFactory); }  static AxeScanner createAxeScanner(
      DeviceConfigFactory deviceConfigFactory, Supplier<DisplayMetrics> displayMetricsSupplier);  }
@Test public void axeScannerExists() { Assert.assertNotNull( AxeScannerFactory.createAxeScanner(deviceConfigFactoryMock, () -> displayMetricsMock)); }