    @Test
    public void testCreateVerticle_VerticleWithDependencyInConstructor_VerticleIsCreated() throws Exception {

        // Arrange
        String identifier = GuiceVerticleFactory.PREFIX + ":" + VerticleWithDependency.class.getName();

        // Act
        Verticle verticle = factory.createVerticle(identifier, this.getClass().getClassLoader());

        // Assert
        assertThat(verticle).isExactlyInstanceOf(VerticleWithDependency.class);
        assertThat(((VerticleWithDependency) verticle).getDependency()).isExactlyInstanceOf(DependencyImpl.class);
    }