package com.episode6.hackit.mockspresso.exception;

import com.episode6.hackit.mockspresso.reflect.DependencyKey;

import java.util.List;

/**
 * Error thrown when trying to declare multiple @RealObjects that
 * create a circular dependency.
 */
public class CircularDependencyError extends VerifyError {

  public CircularDependencyError(List<DependencyKey> dependencyKeys) {
    super(String.format("Attempted to create circular dependency of @RealObjects: [%s]", dependencyKeys.toString()));
  }
}

@@ -336,69 +336,21 @@
 ror(
-List%3CDependencyKey%3E dependencyKeys) %7B%0A    super(String.format
+) %7B%0A    super
 (%22At
@@ -409,40 +409,15 @@
 s: %5B
-%25s%5D%22, dependencyKeys.toString())
+TODO!%5D%22
 );%0A 

drop the list req from circular dependencyError right now