@@ -0,0 +1,2127 @@
+/* Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.camunda.bpm.dmn.engine.test;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport org.camunda.bpm.dmn.engine.DmnEngine;%0Aimport org.camunda.bpm.dmn.engine.DmnEngineConfiguration;%0Aimport org.camunda.bpm.dmn.engine.impl.DefaultDmnEngine;%0Aimport org.camunda.bpm.dmn.engine.impl.DefaultDmnEngineConfiguration;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0A%0Apublic class DmnEngineRuleTest %7B%0A%0A  @Rule%0A  public DmnEngineRule engineRule = new DmnEngineRule();%0A%0A  @Rule%0A  public DmnEngineRule nullEngineRule = new DmnEngineRule(null);%0A%0A  @Rule%0A  public DmnEngineRule customEngineRule = new DmnEngineRule(initConfiguration());%0A%0A  public DmnEngineConfiguration customConfiguration;%0A%0A  public DmnEngineConfiguration initConfiguration() %7B%0A    customConfiguration = new DefaultDmnEngineConfiguration();%0A    return customConfiguration;%0A  %7D%0A%0A  @Test%0A  public void shouldCreateDefaultDmnEngineWithoutConfiguration() %7B%0A    DmnEngine dmnEngine = engineRule.getDmnEngine();%0A    assertThat(dmnEngine)%0A      .isInstanceOf(DefaultDmnEngine.class)%0A      .isNotNull();%0A  %7D%0A%0A  @Test%0A  public void shouldCreateDefaultDmnEngineWithNullConfiguration() %7B%0A    DmnEngine dmnEngine = nullEngineRule.getDmnEngine();%0A    assertThat(dmnEngine)%0A      .isInstanceOf(DefaultDmnEngine.class)%0A      .isNotNull();%0A  %7D%0A%0A  @Test%0A  public void shouldCreateEngineFromCustomConfiguration() %7B%0A    DmnEngine dmnEngine = customEngineRule.getDmnEngine();%0A    assertThat(dmnEngine)%0A      .isNotNull();%0A%0A    assertThat(dmnEngine.getConfiguration())%0A      .isEqualTo(customConfiguration);%0A  %7D%0A%0A%7D%0A

add missing tests