Skip to content

Instantly share code, notes, and snippets.

@Nicolab
Last active December 31, 2015 20:28
Show Gist options
  • Save Nicolab/830d22e346b4f60a5e30 to your computer and use it in GitHub Desktop.
Save Nicolab/830d22e346b4f60a5e30 to your computer and use it in GitHub Desktop.
public function test_get()
{
$this
->given($array = ['k1' => 'v1', 'k2' => 'v2', 'k3' => 'v3', 'k4' => 'v4'])
->array($array)
->isIdenticalTo($array)
;
}
@mageekguy
Copy link

<?php

namespace pio;

class pio {}

namespace tests\units\Pio;

require __DIR__ . '/mageekguy.atoum.phar';

use mageekguy\atoum;

class Pio extends atoum\test
{
    public function test_get()
    {

        $this
            ->given($array = ['k1' => 'v1', 'k2' => 'v2', 'k3' => 'v3', 'k4' => 'v4'])

            ->array($array)

            ->isIdenticalTo($array)
            ;
    }
}
// Works fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment