2

簡単なテストを行いました:

Person p = new Person();
p.setFirstName("Stéphane");
p.setLastName("Traumat");

assertThat(p)
.extracting("firstName", "lastName")
.contains(tuple("Stéphane", "Traumat"));

そして、私は奇妙な結果を得ます:

java.lang.AssertionError: 
Expecting:
<["Stéphane", "Traumat"]>
to contain:
<[("Stéphane", "Traumat")]>
but could not find:
<[("Stéphane", "Traumat")]>

誰でも私を助けることができますか?

4

1 に答える 1