-
``` php
function let(EntityManager $em, FilterCollection $filters, SQLFilter $filter)
{
$this->beConstructedWith($em);
$filters->enable('status_filter')->willReturn($filter);
…
-
Hi,
given this method of a class under test:
```
public function run(array $items)
{
foreach ($items as $item) {
try {
$this->doSomethingThatCouldThrowAnyException($it…
-
If I understood Prophecy correctly then...
Then I cannot test an objects method if there is no "messaging" i.e. more objects involved?
Like
- I have only one Prophecy/Mock object
- I promi…
-
If I have a condition when a method should be but others methods called during the execution have to be declared as "should" as well.
```
public function testCallsAuthenticate()
{
…
-
The current documentation is a bit... limited.
I've just started working with Prophecy today and I've found it very limited. Since nothing else exists, I'm considering spending some time in the comin…
skoop updated
4 years ago
-
when running test-v2 function we should gather the prophecy-libs (python and maven) the same way the v1 function does.
Now we even have the benefit of `pbt_project.yml` where they are defined for …
-
Bot:
- co n godzin bierze ostatnie m świec z giełdy
- robi predykcję
- zapisuje w bazie (predykcja, prawdziwa cena)
Prophecy endpoint:
- `GET /prophecy?tf=1h` zwraca dane do wykresu + statysty…
-
There should be support for `ProphecySubjectInterface::getProphecy()`.
It should be handled the same way as `prophesize()`.
-
```
What steps will reproduce the problem?
1. Follow instructions on website for building the toolchain
2. Instead of a specific llvm version, use SVN Head... (I know...)
3. Try to complete the last s…
-
```
What steps will reproduce the problem?
1. Follow instructions on website for building the toolchain
2. Instead of a specific llvm version, use SVN Head... (I know...)
3. Try to complete the last s…