//testing that the invalid date (empty, other charcters except -, /) is parsed correctly public void TestThatInValidParseDateReturnsEmptystring() { Assert.AreEqual("", BinStatusParser.ParseDate("")); }
//testing that the above date formats are parsed correctly public void TestThatParseDateReturnsValidDateFormat(string dateString) { Assert.AreEqual("2018-07-02", BinStatusParser.ParseDate(dateString)); }