'#9b51e0', 'iconColorValue' => '#fcb900', 'productCountColorValue' => '#000000', ); $expected_attributes = array( 'priceColor' => array( 'color' => '#9b51e0', ), 'iconColor' => array( 'color' => '#fcb900', ), 'productCountColor' => array( 'color' => '#000000', ), ); $this->assertEquals( $expected_attributes, MiniCartUtils::migrate_attributes_to_color_panel( $mock_attributes ) ); } }