var t = typeof(Web.Api.Dto.Response.Account.AccountResponse.Nested);
var types = Types.InAssembly(t.Assembly)
.That().ResideInNamespaceContaining("Response")
.GetTypes()
.ToList();
Assert.Contains(t, types);
types is not empty when I run such test, but assertion fails
Regex r = new Regex("^.*Response.*$", RegexOptions.IgnoreCase);
var match = r.Match(t.Namespace);
Assert.True(match.Success);
types
is not empty when I run such test, but assertion failsthis assertion works however