public async Task Contains_Test()
        {
            var options = new DbContextOptionsBuilder <ApplicationContext>()
                          .UseInMemoryDatabase(databaseName: "FindTestDatabase")
                          .Options;

            using (var context = new ApplicationContext(options))
            {
                context.Database.EnsureCreated();
                var repository = new CourseRepository(context);
                var newCourse  = new Course {
                    Name = "Test", LecturerId = 1
                };
                var contains = await repository.Contains(newCourse);

                Assert.That(contains, Is.EqualTo(false));
            }
        }