public void Configure_ConfigureCalled_SitecoreQueryConfigurationReturned() { //Assign SitecoreChildrenAttribute attr = new SitecoreChildrenAttribute(); var propertyInfo = typeof(StubClass).GetProperty("DummyProperty"); //Act var result = attr.Configure(propertyInfo) as SitecoreChildrenConfiguration; //Assert Assert.IsNotNull(result); }