$mockIdTrue, 'is-pinned' => true ]; // Assert that the actual template data matches the expected array for pinned=true $this->assertSame( $expectedTemplateDataTrue, $pinnableContainerTrue->getTemplateData(), 'Template data for a pinned container should correctly include the ID and is-pinned status.' ); // Test initialization with ID and isPinned set to false $mockIdFalse = 'unpinned-container'; $pinnableContainerFalse = new VectorComponentPinnableContainer( $mockIdFalse, false ); $expectedTemplateDataFalse = [ 'id' => $mockIdFalse, 'is-pinned' => false ]; // Assert that the actual template data matches the expected array for pinned=false $this->assertSame( $expectedTemplateDataFalse, $pinnableContainerFalse->getTemplateData(), 'Template data for an unpinned container should accurately reflect a different ID and is-pinned status.' ); } }