@@ -14,15 +14,15 @@ public FragmentManagerAssert(FragmentManager actual) {
   public FragmentManagerAssert hasFragmentWithId(int id) {
     isNotNull();
     assertThat(actual.findFragmentById(id)) //
-        .overridingErrorMessage("Expected fragment with ID <%s> but was not found.") //
+        .overridingErrorMessage("Expected fragment with ID <%s> but was not found.", id) //
         .isNotNull();
     return this;
   }
 
   public FragmentManagerAssert hasFragmentWithTag(String tag) {
     isNotNull();
     assertThat(actual.findFragmentByTag(tag)) //
-        .overridingErrorMessage("Expected fragment with tag <%s> but was not found.") //
+        .overridingErrorMessage("Expected fragment with tag <%s> but was not found.", tag) //
         .isNotNull();
     return this;
   }