@Test
public void testBuildDetector() {

    val factoryUnderTest = new EdmxDetectorFactoryProvider();
    val document = readDocument("edmx");
    val detector = factoryUnderTest.buildDetector(document);
    val hyperparams = detector.getHyperparams();
    assertNotNull(detector);
    assertEquals("9d934a88-f89b-4793-956a-bede72c3081f", detector.getUuid().toString());
    assertEquals(EdmxDetector.class, detector.getClass());
    assertEquals(24, hyperparams.getBufferSize());
    assertEquals(6, hyperparams.getDelta());
    assertEquals(199, hyperparams.getNumPerms());
    assertEquals(0.01, hyperparams.getStrongAlpha(), TOLERANCE);
    assertEquals(0.05, hyperparams.getWeakAlpha(), TOLERANCE);
}