<commit_before><?php
/**
 *
 */
declare(strict_types=1);

namespace DeeZone\Hug;

use Psr\Hug\Huggable;
use PHPUnit\Framework\TestCase;

/**
 * Class HuggerTest
 *
 * @package DeeZone\Hug
 */
final class LostSoulTest extends TestCase
{

}<commit_msg>ISSUE-7 : Test that LostSoul classes can exchange hugs between each other<commit_after><?php
/**
 *
 */
declare(strict_types=1);

namespace DeeZone\Hug;

use Psr\Hug\Huggable;
use PHPUnit\Framework\TestCase;

/**
 * Class HuggerTest
 *
 * @package DeeZone\Hug
 */
final class LostSoulTest extends TestCase
{

  /**
   *
   */
  public function testReciprocatesHugs()
  {
    $lostSoul = new LostSoul();
    $mock = $this->prophesize(Huggable::class);
    $mock->hug($lostSoul)->shouldBeCalled();
    $lostSoul->hug($mock->reveal());
  }

}
{'fraction_non_alphanumeric': 0.15082382762991128, 'fraction_numerical': 0.0038022813688212928, 'mean_word_length': 3.9375, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6474930', 'n_tokens_mistral': 302, 'n_tokens_neox': 284, 'n_words': 54}