Red.git | t/ | 20-new-with-id.rakutest
use Red;
use Test;
model Bla{ has Str $.id is id }
model Ble{ has Str $.other-name is id }
is Bla.^new-with-id("blablabla").id, "blablabla";
is Ble.^new-with-id("blablabla").other-name, "blablabla";
done-testing;