protected function assertEqualsSnapshot($expected, $identifier = null, $message = null)
    {
        SnapshotsManager::setSuite($this);
        $snapshot = SnapshotsManager::upsertSnapshotContents($identifier, $expected);

        $this->assertEquals($snapshot, $expected, $message);
    }