public void EnsureCohortExist_Should_Not_Duplicate_Entry()
        {
            // Arrange
            var context    = new CompetentieAppFrontendContext(_options);
            var repository = new CohortRepository(context);

            // Act
            var result = repository.EnsureCohortExist("2018-2019");

            // Assert
            Assert.AreEqual(1, result);
        }
        public void EnsureCohortExist_Should_Save_New_Cohorts()
        {
            // Arrange
            var context    = new CompetentieAppFrontendContext(_options);
            var repository = new CohortRepository(context);

            // Act
            var result = repository.EnsureCohortExist("2030/2031");

            // Assert
            Assert.AreEqual(2, result);
        }
        public void EnsureCohortExist_Should_Return_Instance_Of_Type_Long()
        {
            // Arrange
            var context    = new CompetentieAppFrontendContext(_options);
            var repository = new CohortRepository(context);

            // Act
            var result = repository.EnsureCohortExist("2030/2031");

            // Assert
            Assert.IsInstanceOfType(result, typeof(long));
        }