Unit Tests

If you want to create unit test that validates whether your action methods configured correctly, create a simple unit test that just calls Validate method:


[Test]
public void NConsolerConfigurationShouldBeCorrect() {
    Consolery.Validate(typeof(Program));
}

If configuration is incorrect, an exception with error description will be thrown and test will not pass.