   when(streamDefinitionRepository.save(expectedStreamDefinition)).thenReturn(expectedStreamDefinition);    this.defaultStreamService.createStream("testStream", "time | log", "demo stream", false);    verify(this.streamValidationService).isRegistered("