public void JobPosition_WithMoreThan30CharectersName_WhenCreated_ThrowsException()
        {
            var service = new JobPositionService(context);

            var jobPosition = service.CreateJobPosition("JobPositionWith31CharectersName");

            Assert.AreEqual("JobPositionWith31CharectersName", jobPosition.Name);
            Assert.AreEqual(1, jobPosition.Id);
            Assert.AreEqual(1, context.JobPositions.Count());
        }
        public void JobPosition_CanBeCreated()
        {
            var service = new JobPositionService(context);

            var jobPosition = service.CreateJobPosition("Developer");

            Assert.AreEqual("Developer", jobPosition.Name);
            Assert.AreEqual(1, jobPosition.Id);
            Assert.AreEqual(1, context.JobPositions.Count());
        }