public void LoadConfigurationForEntityTypeWithoutDefinedConfigurationReturnsNull()
 {
     var stateMachineConfigLoader = new DefaultStateMachineConfigLoader();
     Assert.AreEqual(null,
         stateMachineConfigLoader.LoadConfiguration("AnotherEntity"));
 }
 public void LoadConfigurationForEntityTypeWithDefinedConfigurationReturnsCorrespondingConfigurationLoadedFromAppConfig()
 {
     var stateMachineConfigLoader = new DefaultStateMachineConfigLoader();
     Assert.AreEqual("{\"Created-Continue\":\"Running\",\"Created-Cancel\":\"InternalErrorState\",\"Running-Continue\":\"Completed\"}",
         stateMachineConfigLoader.LoadConfiguration("EntityType"));
 }