# InvalidateDBBaseCommandTest

Extends \NPS\Test\CommandTestCase

Tests invalidate db base command

author | Lukas Korinek
package | Default

### Methods

## Executes a command with parameters

    cmd(string $cmd, string &$out = null) : boolean

inherited static

### Arguments

#### $cmd

`string`

Command to execute

#### $out

`string`

Output of the command will be stored in this

### Response

`boolean`

Success indicator

## Gets the kernel DI container

    getContainer() : \Symfony\Component\DependencyInjection\ContainerInterface

inherited static

### Response

`\Symfony\Component\DependencyInjection\ContainerInterface`

## Peeks db in order to fetch important test data

    peekDB(string $entity) : object

inherited

### Arguments

#### $entity

`string`

Entity to fetch

### Response

`object`

## setUp

    setUp()

inherited

inheritDoc |

## setUpBeforeClass

    setUpBeforeClass()

inherited static

inheritDoc |

## tearDown

    tearDown()

inherited

inheritDoc |

## tearDownAfterClass

    tearDownAfterClass()

inherited static

inheritDoc |

## testExecute

    testExecute()

### Properties

## application

    application : \Symfony\Bundle\FrameworkBundle\Console\Application

inherited static

var |

### Type(s)

`\Symfony\Bundle\FrameworkBundle\Console\Application`

## container

    container : \Symfony\Component\DependencyInjection\ContainerInterface

inherited static

var |

### Type(s)

`\Symfony\Component\DependencyInjection\ContainerInterface`

## conn

    conn : \Doctrine\DBAL\Connection

inherited

var |

### Type(s)

`\Doctrine\DBAL\Connection`