public void GetMetadata__ThrowsArguementNullExceptionOnNullContext() { Action comparison = () => { RServiceHttpContextExtensions.GetServiceMetadata(null); }; comparison.ShouldThrow <ArgumentNullException>(); }