}
@Test
+ fun `command does not require write access`() {
+ assertThat(command.requiresWriteAccess(), equalTo(false))
+ }
+
+ @Test
fun `request without parameters lists all sones`() {
val replyParameters = command.execute(parameters).replyParameters
}
@Test
+ fun `command requires write access`() {
+ assertThat(command.requiresWriteAccess(), equalTo(true))
+ }
+
+ @Test
fun `request without parameters results in FCP exception`() {
requestWithoutAnyParameterResultsInFcpException()
}
}
@Test
+ fun `command requires write access`() {
+ assertThat(command.requiresWriteAccess(), equalTo(true))
+ }
+
+ @Test
fun `request without parameters results in FCP exception`() {
requestWithoutAnyParameterResultsInFcpException()
}