@Test
public void execute() {

    String namespace = "http://www.trisotech.com/definitions/_99ccd4df-41ac-43c3-a563-d58f43149829";
    String modelName = "typecheck in DT";
    GetDMNModelCommand getDMNModelCommand = new GetDMNModelCommand(namespace, modelName);
    assertThatThrownBy(() -> getDMNModelCommand.execute(registryContext))
            .isInstanceOf(IllegalStateException.class)
            .hasMessage("There is no DMNRuntime available");
    registryContext.register(DMNRuntime.class, dmnRuntime);
    DMNModel dmnModel = getDMNModelCommand.execute(registryContext);
    assertEquals(namespace, dmnModel.getNamespace());
    assertEquals(modelName, dmnModel.getName());
}