public override bool Matches(object actual) { this.actual = actual; if ( !(actual is string) ) return false; return IsSamePathOrUnder( expected, (string) actual ); }