### Question:
Moshi { @CheckReturnValue public Moshi.Builder newBuilder() { Builder result = new Builder(); for (int i = 0, limit = lastOffset; i < limit; i++) { result.add(factories.get(i)); } for (int i = lastOffset, limit = factories.size() - BUILT_IN_FACTORIES.size(); i < limit; i++) { result.addLast(factories.get(i)); } return result; } Moshi(Builder builder); @CheckReturnValue JsonAdapter<T> adapter(Type type); @CheckReturnValue JsonAdapter<T> adapter(Class<T> type); @CheckReturnValue JsonAdapter<T> adapter(Type type, Class<? extends Annotation> annotationType); @CheckReturnValue JsonAdapter<T> adapter(Type type, Class<? extends Annotation>... annotationTypes); @CheckReturnValue JsonAdapter<T> adapter(Type type, Set<? extends Annotation> annotations); @CheckReturnValue @SuppressWarnings("unchecked") // Factories are required to return only matching JsonAdapters. JsonAdapter<T> adapter(
      Type type, Set<? extends Annotation> annotations, @Nullable String fieldName); @CheckReturnValue @SuppressWarnings("unchecked") // Factories are required to return only matching JsonAdapters. JsonAdapter<T> nextAdapter(
      JsonAdapter.Factory skipPast, Type type, Set<? extends Annotation> annotations); @CheckReturnValue Moshi.Builder newBuilder();  }### Answer:
@Test public void newBuilder() throws Exception { Moshi moshi = new Moshi.Builder().add(Pizza.class, new PizzaAdapter()).build(); Moshi.Builder newBuilder = moshi.newBuilder(); for (JsonAdapter.Factory factory : Moshi.BUILT_IN_FACTORIES) { assertThat(factory).isNotIn(newBuilder.factories); } }