Mock the container.