public void Ctor_sets_properties() { var message = "Some message"; var errors = new CompilerError[0]; var ex = new CompilerErrorException(message, errors); Assert.Equal(message, ex.Message); Assert.Same(errors, ex.Errors); }