@Test
public void testDeploymentBuildForEmptyEntities() {

    UnsupportedEntityBuilder unsupportedEntityBuilder = new UnsupportedEntityBuilder();
    List<Entity> entities = unsupportedEntityBuilder.build(new Bundle(), EntityBuilder.BundleType.DEPLOYMENT, null);
    Assert.assertTrue(entities.isEmpty());
    entities = unsupportedEntityBuilder.build(new AnnotatedBundle(null, null, null), EntityBuilder.BundleType.DEPLOYMENT, null);
    Assert.assertTrue(entities.isEmpty());
}