public void TestCountClass() { var count = new TypeAssert <Count>(); count.Class(); count.NonAbstract(); count.Extends <Aggregator>(); count.NonPropertyAndField <int[]>("Numbers", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.GetField | BindingFlags.GetProperty); count.Constructor( BindingFlags.Public | BindingFlags.Instance, new Param <int[]>("numbers"))?.Public(); count.Method <int>( "GetValue", BindingFlags.Public | BindingFlags.Instance | BindingFlags.GetProperty, new Param <int>("n") )?.Override(); }