function it_should_encode_values_to_the_desired_type() { $this::encode('foo', 'UTF-8')->shouldBeEqualTo('foo'); $this::encode('fóó', 'UTF-8')->shouldBeEqualTo('fóó'); }