public void Peek_Method_Should_Throw_StackException_When_Stack_Is_Empty() { try { StacksQueuesProblem.Stack testingObj = new StacksQueuesProblem.Stack(); testingObj.Peek(); } catch (Exception e) { Assert.AreEqual(e.Message, "No Value in Stack"); } }