📅  最后修改于: 2022-03-11 14:59:23.042000             🧑  作者: Mango
Widget testWidget = Widget.builder()
.name("foo")
.id(1)
.build();
assertThat(testWidget.getName())
.isEqualTo("foo");
assertThat(testWidget.getId())
.isEqualTo(1);