publicclassCommandTest{@Testpublicvoidassignee(){Assert.assertEquals("state Fixed assignee Tomek",Command.stateCommand("Fixed").assignee("Tomek").toString());}@TestpublicvoidassigneeChaining(){Assert.assertEquals("assignee Jacek assignee Tomek assignee Bernard",Command.assigneeCommand("Jacek").assignee("Tomek").assignee("Bernard").toString());}@TestpublicvoidassigneeCommand(){Assert.assertEquals("assignee Jacek",Command.assigneeCommand("Jacek").toString());}@Testpublicvoidstate(){Assert.assertEquals("assignee Tomek state Open",Command.assigneeCommand("Tomek").state("Open").toString());Assert.assertEquals("assignee Tomek state To be discussed",Command.assigneeCommand("Tomek").state(StateValues.ToBeDiscussed).toString());}@TestpublicvoidstateChaining(){Assert.assertEquals("state Fixed state Open state Obsolete",Command.stateCommand("Fixed").state("Open").state("Obsolete").toString());Assert.assertEquals("state Fixed state Open state Obsolete",Command.stateCommand("Fixed").state(StateValues.Open).state("Obsolete").toString());}@TestpublicvoidstateCommand(){Assert.assertEquals("state Fixed",Command.stateCommand("Fixed").toString());Assert.assertEquals("state In Progress",Command.stateCommand(StateValues.InProgress).toString());}}