public void GetPostionValueForObject() { //Test1 //arrange Employee employee = new Employee {FirstName="Dev", Fruit=Fruit.Orange }; int expected = 2; //act int actual = employee.Pos( new Employee { }, new Employee { }, employee ); //assert Assert.AreEqual(expected, actual); }