public void Dispose_is_noop_if_context_already_disposed() { SimpleModelContext context; using (context = new SimpleModelContext()) { var product = context.Products.Find(1); } context.Dispose(); }