The fake example is now broken as we're not smashing random methods. Fix method gener...
[catagits/CatalystX-DynamicComponent.git] / t / lib / DynamicAppDemo / Controller / FakeExample.pm
diff --git a/t/lib/DynamicAppDemo/Controller/FakeExample.pm b/t/lib/DynamicAppDemo/Controller/FakeExample.pm
deleted file mode 100644 (file)
index 4615cf4..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package DynamicAppDemo::Controller::FakeExample;
-use Moose;
-use namespace::autoclean;
-
-BEGIN { extends 'Catalyst::Controller' }
-with 'CatalystX::ModelToControllerReflector::ControllerRole';
-
-# This is a fake controller.
-
-# It exists to show an example of using ::ControllerBase which is autogenerated,
-# which helps me seperate the building and testing of the controller action
-# registration functionality, seperate the the code generation :)
-
-sub register_me { 
-    my ($self, $c) = @_;
-    $c->res->body('quux');
-    $c->res->header('X-Foo', 'bar');
-}
-
-sub _do_not_register_me { }
-
-# In a non-trivial example, you would use MX::Method::Sigs :)
-
-__PACKAGE__->meta->make_immutable;
-