--- /dev/null
+use strict;
+use warnings;
+use Test::More;
+
+use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
+
+my $warnings;
+eval {
+ local $SIG{__WARN__} = sub { $warnings .= shift };
+ package DBICNSTest;
+ use base qw/DBIx::Class::Schema/;
+ __PACKAGE__->load_namespaces;
+};
+my $source_mro_order = DBICNSTest->source('MROOrder');
+isa_ok($source_mro_order , 'DBIx::Class::ResultSource::Table');
+
+done_testing();
--- /dev/null
+package DBICNSTest::Result::MROOrder;
+use base qw/DBIx::Class::Core/;
+use DBICNSTest::ResultSet::MROOrder;
+__PACKAGE__->table('mroorder');
+__PACKAGE__->add_columns('mroorder');
+__PACKAGE__->resultset_class ('DBICNSTest::ResultSet::MROOrder');
+__PACKAGE__->result_source_instance->inject_resultset_components(['+A::Useless', '+A::MoarUseless']);
+1;
--- /dev/null
+package DBICNSTest::ResultSet::MROOrder;
+use base qw/DBIx::Class::ResultSet/;
+1;