Get all array properties

Aug 7, 2012 at 9:46 AM

I want to test that my default ctor initialize all array properties with empty arrays, Is it possible to get all array properties from class using FluentAssertion to know are they all initialized?

Coordinator
Aug 7, 2012 at 10:45 AM

The only way to do that right now is to use the .Should().NotBeEmpty() on the collection properties. This will also verify that the collection is not null.