public async Task AddGroupAsync_NullPassedShouldReturnStatusBadRequest()
        {
            //Arrange
            var groupServiceMock = Substitute.For <IGroupService>();
            var sut = new GroupsController(groupServiceMock);

            //Act
            var response = await sut.AddGroupAsync(null);

            //Assert
            //Assert.Equal(400, ((StatusCodeResult) response).StatusCode);
        }
        public async Task AddGroupAsync_ShouldReturnStatusOk()
        {
            var groupRepoMock    = Substitute.For <IGroupRepository>();
            var groupServiceMock = Substitute.For <IGroupService>();
            var groupToAdd       = new Group {
                Name = "someName", Country = "someCountry", CreationYear = 2000
            };
            var groupDtoToAdd = GroupDto.GetGroupDtoWithoutId("someName", "someCountry", 2000);
            var sut           = new GroupsController(groupServiceMock);

            //Act
            var response = await sut.AddGroupAsync(groupDtoToAdd);

            //Assert
            await groupServiceMock.Received().AddAsync(groupDtoToAdd);

            //Assert.Equal(200, ((StatusCodeResult) response).StatusCode);
        }