This should be only used with the deprecated DiffNode based testing infrastructure. This class
hosts a test implementation of create and resolve layout. The implementation only resolves the
immediate subcomponents of the component. The implementation details of this class should be kept
in sync with LayoutState if the existing tests written with the deprecated testing
infrastructure are relevant.