title: Why DbContext doesn't implement IDbContext interface?
body: <p>Why there is no <code>IDbContext</code> interface in the Entity Framework? Wouldn't it be easier to test things if there was an existing interface with methods like SaveChanges() etc. from which you could derive your custom database context interface?</p>
  
  <pre><code>public interface ICustomDbContext : IDbContext
  {
      // add entity set properties to existing set of methods in IDbContext
      IDbSet&lt;SomeEntity&gt; SomeEntities { get; }
  }
  </code></pre>