public void TestRemoveLast_Throws_Exception_When_Tail_Null() { LinkedList <Employee> linkedList = new LinkedList <Employee>(); Assert.That(() => linkedList.RemoveLast(), Throws.Exception.TypeOf <IndexOutOfRangeException>()); }