expect(() => ReactTestUtils.renderIntoDocument(<Component testContext={{ foo: 123 }} />)).toWarnDev(
            'Warning: Failed child context type: ' +
                'Invalid child context `foo` of type `number` ' +
                'supplied to `Component`, expected `string`.\n' +
                '    in Component (at **)'