public void ExtractData_ExpressionSuccessfully() { var reader = new ThemeReader(); var component = reader.ExtractData(FileText); component.Expression.ShouldNotBeNull(); component.Expression.ShouldBe(FileText); }
public void ExtractData_WhenTextIsEmpty_ExceptionRaised(string text) { var reader = new ThemeReader(); Assert.Throws <ArgumentNullException>(() => reader.ExtractData(text)); }