Is it possible to test a private static method (extension method).
I am having little to no luck on finding a workable solution.
I would like to test the following passing a fake instance:
public static class XBRLExtensions
{
private static DateTime StartDate(this Instance instance)
{
var itm = instance.GetItemByName(Resources.PeriodStartDateFieldName);
return DateTime.Parse(itm.SpecifiedValue);
}
}
any help would be greatly appreciated :)